package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备信息对象 cz_equipment_attr
 * 
 * @author ruoyi
 * @date 2022-02-07
 */
@ApiModel(description= "设备信息对象")
public class CzEquipmentAttr extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value ="主键")
    private String id;

    /** 设备主表ID */
    @Excel(name = "设备主表ID")
    @ApiModelProperty(value ="设备主表ID")
    private String equipmentId;

    /** 设备属性 */
    @Excel(name = "设备属性")
    @ApiModelProperty(value ="设备属性")
    private String equipmentAttr;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setEquipmentId(String equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() 
    {
        return equipmentId;
    }
    public void setEquipmentAttr(String equipmentAttr) 
    {
        this.equipmentAttr = equipmentAttr;
    }

    public String getEquipmentAttr() 
    {
        return equipmentAttr;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentId", getEquipmentId())
            .append("equipmentAttr", getEquipmentAttr())
            .toString();
    }
}
